home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / RIncludes / Video.r < prev    next >
Encoding:
Text File  |  1998-08-17  |  20.0 KB  |  330 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Video.r
  3.  
  4.      Contains:    Video Driver Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1986-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __VIDEO_R__
  19. #define __VIDEO_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. #define mBaseOffset                     1                    /* Id of mBaseOffset. */
  26. #define mRowBytes                         2                    /* Video sResource parameter Id's  */
  27. #define mBounds                         3                    /* Video sResource parameter Id's  */
  28. #define mVersion                         4                    /* Video sResource parameter Id's  */
  29. #define mHRes                             5                    /* Video sResource parameter Id's  */
  30. #define mVRes                             6                    /* Video sResource parameter Id's  */
  31. #define mPixelType                         7                    /* Video sResource parameter Id's  */
  32. #define mPixelSize                         8                    /* Video sResource parameter Id's  */
  33. #define mCmpCount                         9                    /* Video sResource parameter Id's  */
  34. #define mCmpSize                         10                    /* Video sResource parameter Id's  */
  35. #define mPlaneBytes                     11                    /* Video sResource parameter Id's  */
  36. #define mVertRefRate                     14                    /* Video sResource parameter Id's  */
  37. #define mVidParams                         1                    /* Video parameter block id. */
  38. #define mTable                             2                    /* Offset to the table. */
  39. #define mPageCnt                         3                    /* Number of pages */
  40. #define mDevType                         4                    /* Device Type */
  41. #define oneBitMode                         128                    /* Id of OneBitMode Parameter list. */
  42. #define twoBitMode                         129                    /* Id of TwoBitMode Parameter list. */
  43. #define fourBitMode                     130                    /* Id of FourBitMode Parameter list. */
  44. #define eightBitMode                     131                    /* Id of EightBitMode Parameter list. */
  45.  
  46. #define sixteenBitMode                     132                    /* Id of SixteenBitMode Parameter list. */
  47. #define thirtyTwoBitMode                 133                    /* Id of ThirtyTwoBitMode Parameter list. */
  48. #define firstVidMode                     128                    /* The new, better way to do the above.  */
  49. #define secondVidMode                     129                    /*  QuickDraw only supports six video  */
  50. #define thirdVidMode                     130                    /*  at this time.       */
  51. #define fourthVidMode                     131
  52. #define fifthVidMode                     132
  53. #define sixthVidMode                     133
  54. #define spGammaDir                         64
  55. #define spVidNamesDir                     65
  56.  
  57. #define kDeclROMtables                     'decl'
  58. #define kDDCBlockSize                     128
  59. #define kDDCBlockTypeEDID                 0                    /*  EDID block type.  */
  60. #define kDDCForceReadBit                 0                    /*  Force a new read of the EDID.  */
  61. #define kDDCForceReadMask                 0x01                /*  Mask for kddcForceReadBit.  */
  62.  
  63. #define timingInvalid                     0                    /*     Unknown timing… force user to confirm.  */
  64. #define timingInvalid_SM_T24             8                    /*     Work around bug in SM Thunder24 card. */
  65. #define timingApple_FixedRateLCD         42                    /*     Lump all fixed-rate LCDs into one category. */
  66. #define timingApple_512x384_60hz         130                    /*   512x384  (60 Hz) Rubik timing.  */
  67. #define timingApple_560x384_60hz         135                    /*   560x384  (60 Hz) Rubik-560 timing.  */
  68. #define timingApple_640x480_67hz         140                    /*   640x480  (67 Hz) HR timing.  */
  69. #define timingApple_640x400_67hz         145                    /*   640x400  (67 Hz) HR-400 timing.  */
  70. #define timingVESA_640x480_60hz         150                    /*   640x480  (60 Hz) VGA timing.  */
  71. #define timingVESA_640x480_72hz         152                    /*   640x480  (72 Hz) VGA timing.  */
  72. #define timingVESA_640x480_75hz         154                    /*   640x480  (75 Hz) VGA timing.  */
  73. #define timingVESA_640x480_85hz         158                    /*   640x480  (85 Hz) VGA timing.  */
  74. #define timingGTF_640x480_120hz         159                    /*   640x480  (120 Hz) VESA Generalized Timing Formula  */
  75. #define timingApple_640x870_75hz         160                    /*   640x870  (75 Hz) FPD timing. */
  76. #define timingApple_640x818_75hz         165                    /*   640x818  (75 Hz) FPD-818 timing. */
  77. #define timingApple_832x624_75hz         170                    /*   832x624  (75 Hz) GoldFish timing. */
  78. #define timingVESA_800x600_56hz         180                    /*   800x600  (56 Hz) SVGA timing.  */
  79. #define timingVESA_800x600_60hz         182                    /*   800x600  (60 Hz) SVGA timing.  */
  80. #define timingVESA_800x600_72hz         184                    /*   800x600  (72 Hz) SVGA timing.  */
  81. #define timingVESA_800x600_75hz         186                    /*   800x600  (75 Hz) SVGA timing.  */
  82. #define timingVESA_800x600_85hz         188                    /*   800x600  (85 Hz) SVGA timing.  */
  83. #define timingVESA_1024x768_60hz         190                    /*  1024x768  (60 Hz) VESA 1K-60Hz timing.  */
  84. #define timingVESA_1024x768_70hz         200                    /*  1024x768  (70 Hz) VESA 1K-70Hz timing.  */
  85. #define timingVESA_1024x768_75hz         204                    /*  1024x768  (75 Hz) VESA 1K-75Hz timing (very similar to timingApple_1024x768_75hz).  */
  86. #define timingVESA_1024x768_85hz         208                    /*  1024x768  (85 Hz) VESA timing.  */
  87. #define timingApple_1024x768_75hz         210                    /*  1024x768  (75 Hz) Apple 19" RGB.  */
  88. #define timingApple_1152x870_75hz         220                    /*  1152x870  (75 Hz) Apple 21" RGB.  */
  89. #define timingAppleNTSC_ST                 230                    /*   512x384  (60 Hz, interlaced, non-convolved).  */
  90. #define timingAppleNTSC_FF                 232                    /*   640x480  (60 Hz, interlaced, non-convolved).  */
  91. #define timingAppleNTSC_STconv             234                    /*   512x384  (60 Hz, interlaced, convolved).  */
  92. #define timingAppleNTSC_FFconv             236                    /*   640x480  (60 Hz, interlaced, convolved).  */
  93. #define timingApplePAL_ST                 238                    /*   640x480  (50 Hz, interlaced, non-convolved).  */
  94. #define timingApplePAL_FF                 240                    /*   768x576  (50 Hz, interlaced, non-convolved).  */
  95. #define timingApplePAL_STconv             242                    /*   640x480  (50 Hz, interlaced, convolved).  */
  96. #define timingApplePAL_FFconv             244                    /*   768x576  (50 Hz, interlaced, convolved).  */
  97. #define timingVESA_1280x960_75hz         250                    /*  1280x960  (75 Hz)  */
  98. #define timingVESA_1280x960_60hz         252                    /*  1280x960  (60 Hz)  */
  99. #define timingVESA_1280x960_85hz         254                    /*  1280x960  (85 Hz)  */
  100. #define timingVESA_1280x1024_60hz         260                    /*  1280x1024 (60 Hz)  */
  101. #define timingVESA_1280x1024_75hz         262                    /*  1280x1024 (75 Hz)  */
  102. #define timingVESA_1280x1024_85hz         268                    /*  1280x1024 (85 Hz)  */
  103. #define timingVESA_1600x1200_60hz         280                    /*  1600x1200 (60 Hz) VESA timing.  */
  104. #define timingVESA_1600x1200_65hz         282                    /*  1600x1200 (65 Hz) VESA timing.  */
  105. #define timingVESA_1600x1200_70hz         284                    /*  1600x1200 (70 Hz) VESA timing.  */
  106. #define timingVESA_1600x1200_75hz         286                    /*  1600x1200 (75 Hz) VESA timing (pixel clock is 189.2 Mhz dot clock).  */
  107. #define timingVESA_1600x1200_80hz         288                    /*  1600x1200 (80 Hz) VESA timing (pixel clock is 216>? Mhz dot clock) - proposed only.  */
  108. #define timingVESA_1600x1200_85hz         289                    /*  1600x1200 (85 Hz) VESA timing (pixel clock is 229.5 Mhz dot clock).  */
  109. #define timingSMPTE240M_60hz             400                    /*  60Hz V, 33.75KHz H, interlaced timing, 16:9 aspect, typical resolution of 1920x1035.  */
  110. #define timingFilmRate_48hz             410                    /*  48Hz V, 25.20KHz H, non-interlaced timing, typical resolution of 640x480.  */
  111. #define timingSony_1600x1024_76hz         500                    /*  1600x1024 (76 Hz) Sony timing (pixel clock is 170.447 Mhz dot clock).  */
  112. #define timingSony_1920x1080_60hz         510                    /*  1920x1080 (60 Hz) Sony timing (pixel clock is 159.84 Mhz dot clock).  */
  113. #define timingSony_1920x1080_72hz         520                    /*  1920x1080 (72 Hz) Sony timing (pixel clock is 216.023 Mhz dot clock).  */
  114. #define timingSony_1900x1200_74hz         530                    /*  1900x1200 (74 Hz) Sony timing (pixel clock is 236.25 Mhz dot clock).  */
  115. #define timingSony_1900x1200_76hz         540                    /*  1900x1200 (76 Hz) Sony timing (pixel clock is 245.48 Mhz dot clock).  */
  116.  
  117. #define kAllModesValid                     0                    /*  All modes not trimmed by primary init are good close enough to try  */
  118. #define kAllModesSafe                     1                    /*  All modes not trimmed by primary init are know to be safe  */
  119. #define kReportsTagging                 2                    /*  Can detect tagged displays (to identify smart monitors)  */
  120. #define kHasDirectConnection             3                    /*  True implies that driver can talk directly to device (e.g. serial data link via sense lines)  */
  121. #define kIsMonoDev                         4                    /*  Says whether there’s an RGB (0) or Monochrome (1) connection.  */
  122. #define kUncertainConnection             5                    /*  There may not be a display (no sense lines?).  */
  123. #define kTaggingInfoNonStandard         6                    /*  Set when csConnectTaggedType/csConnectTaggedData are non-standard (i.e., not the Apple CRT sense codes).  */
  124. #define kReportsDDCConnection             7                    /*  Card can do ddc (set kHasDirectConnect && kHasDDCConnect if you actually found a ddc display).  */
  125. #define kHasDDCConnection                 8                    /*  Card has ddc connect now.  */
  126. #define kConnectionInactive             9                    /*  Set when the connection is NOT currently active (generally used in a multiconnection environment).  */
  127. #define kDependentConnection             10                    /*  Set when some ascpect of THIS connection depends on another (will generally be set in a kModeSimulscan environment).  */
  128. #define kBuiltInConnection                 11                    /*  Set when connection is KNOWN to be built-in (this is not the same as kHasDirectConnection).  */
  129. #define kOverrideConnection             12                    /*  Set when the reported connection is not the true one, but is one that has been forced through a SetConnection call  */
  130. #define kFastCheckForDDC                 13                    /*  Set when all 3 are true: 1) sense codes indicate DDC display could be attached 2) attempted fast check 3) DDC failed  */
  131.  
  132. #define kUnknownConnect                 1                    /*  Not sure how we’ll use this, but seems like a good idea.  */
  133. #define kPanelConnect                     2                    /*  For use with fixed-in-place LCD panels.  */
  134. #define kPanelTFTConnect                 2                    /*  Alias for kPanelConnect  */
  135. #define kFixedModeCRTConnect             3                    /*   For use with fixed-mode (i.e., very limited range) displays.  */
  136. #define kMultiModeCRT1Connect             4                    /*  320x200 maybe, 12" maybe, 13" (default), 16" certain, 19" maybe, 21" maybe  */
  137. #define kMultiModeCRT2Connect             5                    /*  320x200 maybe, 12" maybe, 13" certain, 16" (default), 19" certain, 21" maybe  */
  138. #define kMultiModeCRT3Connect             6                    /*  320x200 maybe, 12" maybe, 13" certain, 16" certain, 19" default, 21" certain  */
  139. #define kMultiModeCRT4Connect             7                    /*  Expansion to large multi mode (not yet used)  */
  140. #define kModelessConnect                 8                    /*  Expansion to modeless model (not yet used)  */
  141. #define kFullPageConnect                 9                    /*  640x818 (to get 8bpp in 512K case) and 640x870 (these two only)  */
  142. #define kVGAConnect                     10                    /*  640x480 VGA default -- question everything else  */
  143. #define kNTSCConnect                     11                    /*  NTSC ST (default), FF, STconv, FFconv  */
  144. #define kPALConnect                     12                    /*  PAL ST (default), FF, STconv, FFconv  */
  145. #define kHRConnect                         13                    /*  Straight-6 connect -- 640x480 and 640x400 (to get 8bpp in 256K case) (these two only)  */
  146. #define kPanelFSTNConnect                 14                    /*  For use with fixed-in-place LCD FSTN (aka “Supertwist”) panels  */
  147. #define kMonoTwoPageConnect             15                    /*  1152x870 Apple color two-page display  */
  148. #define kColorTwoPageConnect             16                    /*  1152x870 Apple B&W two-page display  */
  149. #define kColor16Connect                 17                    /*  832x624 Apple B&W two-page display  */
  150. #define kColor19Connect                 18                    /*  1024x768 Apple B&W two-page display  */
  151. #define kGenericCRT                     19                    /*  Indicates nothing except that connection is CRT in nature.  */
  152. #define kGenericLCD                     20                    /*  Indicates nothing except that connection is LCD in nature.  */
  153. #define kDDCConnect                     21                    /*  DDC connection, always set kHasDDCConnection  */
  154.  
  155. #define kModeValid                         0                    /*  Says that this mode should NOT be trimmed.  */
  156. #define kModeSafe                         1                    /*  This mode does not need confirmation  */
  157. #define kModeDefault                     2                    /*  This is the default mode for this type of connection  */
  158. #define kModeShowNow                     3                    /*  This mode should always be shown (even though it may require a confirm)  */
  159. #define kModeNotResize                     4                    /*  This mode should not be used to resize the display (eg. mode selects a different connector on card)  */
  160. #define kModeRequiresPan                 5                    /*  This mode has more pixels than are actually displayed  */
  161. #define kModeInterlaced                 6                    /*  This mode is interlaced (single pixel lines look bad).  */
  162. #define kModeShowNever                     7                    /*  This mode should not be shown in the user interface.  */
  163. #define kModeSimulscan                     8                    /*  Indicates that more than one display connection can be driven from a single framebuffer controller.  */
  164. #define kModeNotPreset                     9                    /*  Indicates that the timing is not a factory preset for the current display (geometry may need correction)  */
  165. #define kModeBuiltIn                     10                    /*  Indicates that the display mode is for the built-in connect only (on multiconnect devices like the PB 3400) Only the driver is quieried  */
  166.  
  167. #define kDepthDependent                 0                    /*  Says that this depth mode may cause dependent changes in other framebuffers (and .  */
  168. #define kResolutionHasMultipleDepthSizes  0                    /*  Says that this mode has different csHorizontalPixels, csVerticalLines at different depths (usually slightly larger at lower depths)  */
  169.                                                             /*     Power Mode constants for VDPowerStateRec.powerState.  Note the numeric order does not match the power state order  */
  170. #define kAVPowerOff                     0                    /*  Power fully off */
  171. #define kAVPowerStandby                 1
  172. #define kAVPowerSuspend                 2
  173. #define kAVPowerOn                         3
  174.  
  175.                                                             /*     Power Mode masks and bits for VDPowerStateRec.powerFlags.     */
  176. #define kPowerStateNeedsRefresh         0                    /*  When leaving this power mode, a display will need refreshing     */
  177. #define kPowerStateSleepAwareBit         1                    /*  if gestaltPCCardDockingSelectorFix, Docking mgr checks this bit before checking kPowerStateSleepAllowedBit  */
  178. #define kPowerStateSleepForbiddenBit     2                    /*  if kPowerStateSleepAwareBit, Docking mgr checks this bit before sleeping  */
  179. #define kPowerStateNeedsRefreshMask     0x00000001
  180. #define kPowerStateSleepAwareMask         0x00000002
  181. #define kPowerStateSleepForbiddenMask     0x00000004
  182.  
  183.                                                             /*  Control Codes  */
  184. #define cscReset                         0
  185. #define cscKillIO                         1
  186. #define cscSetMode                         2
  187. #define cscSetEntries                     3
  188. #define cscSetGamma                     4
  189. #define cscGrayPage                     5
  190. #define cscGrayScreen                     5
  191. #define cscSetGray                         6
  192. #define cscSetInterrupt                 7
  193. #define cscDirectSetEntries             8
  194. #define cscSetDefaultMode                 9
  195. #define cscSwitchMode                     10
  196. #define cscSetSync                         11
  197. #define cscSavePreferredConfiguration     16
  198. #define cscSetHardwareCursor             22
  199. #define cscDrawHardwareCursor             23
  200. #define cscSetConvolution                 24
  201. #define cscSetPowerState                 25
  202. #define cscPrivateControlCall             26                    /*  Takes a VDPrivateSelectorDataRec */
  203. #define cscSetMultiConnect                 28                    /*  From a GDI point of view, this call should be implemented completely in the HAL and not at all in the core. */
  204. #define cscSetClutBehavior                 29                    /*  Takes a VDClutBehavior  */
  205. #define cscUnusedCall                     127                    /*  This call used to expend the scrn resource.  Its imbedded data contains more control info  */
  206.  
  207.                                                             /*  Status Codes  */
  208. #define cscGetMode                         2
  209. #define cscGetEntries                     3
  210. #define cscGetPageCnt                     4
  211. #define cscGetPages                     4                    /*  This is what C&D 2 calls it.  */
  212. #define cscGetPageBase                     5
  213. #define cscGetBaseAddr                     5                    /*  This is what C&D 2 calls it.  */
  214. #define cscGetGray                         6
  215. #define cscGetInterrupt                 7
  216. #define cscGetGamma                     8
  217. #define cscGetDefaultMode                 9
  218. #define cscGetCurMode                     10
  219. #define cscGetSync                         11
  220. #define cscGetConnection                 12                    /*  Return information about the connection to the display  */
  221. #define cscGetModeTiming                 13                    /*  Return timing info for a mode  */
  222. #define cscGetModeBaseAddress             14                    /*  Return base address information about a particular mode  */
  223. #define cscGetScanProc                     15                    /*  QuickTime scan chasing routine  */
  224. #define cscGetPreferredConfiguration     16
  225. #define cscGetNextResolution             17
  226. #define cscGetVideoParameters             18
  227. #define cscGetGammaInfoList             20
  228. #define cscRetrieveGammaTable             21
  229. #define cscSupportsHardwareCursor         22
  230. #define cscGetHardwareCursorDrawState     23
  231. #define cscGetConvolution                 24
  232. #define cscGetPowerState                 25
  233. #define cscPrivateStatusCall             26                    /*  Takes a VDPrivateSelectorDataRec */
  234. #define cscGetDDCBlock                     27                    /*  Takes a VDDDCBlockRec   */
  235. #define cscGetMultiConnect                 28                    /*  From a GDI point of view, this call should be implemented completely in the HAL and not at all in the core. */
  236. #define cscGetClutBehavior                 29                    /*  Takes a VDClutBehavior  */
  237.  
  238. #define kDisableHorizontalSyncBit         0
  239. #define kDisableVerticalSyncBit         1
  240. #define kDisableCompositeSyncBit         2
  241. #define kEnableSyncOnBlue                 3
  242. #define kEnableSyncOnGreen                 4
  243. #define kEnableSyncOnRed                 5
  244. #define kNoSeparateSyncControlBit         6
  245. #define kTriStateSyncBit                 7
  246. #define kHorizontalSyncMask             0x01
  247. #define kVerticalSyncMask                 0x02
  248. #define kCompositeSyncMask                 0x04
  249. #define kDPMSSyncMask                     0x07
  250. #define kTriStateSyncMask                 0x80
  251. #define kSyncOnBlueMask                 0x08
  252. #define kSyncOnGreenMask                 0x10
  253. #define kSyncOnRedMask                     0x20
  254. #define kSyncOnMask                     0x38
  255.  
  256.                                                             /*     Power Mode constants for translating DPMS modes to Get/SetSync calls.     */
  257. #define kDPMSSyncOn                     0
  258. #define kDPMSSyncStandby                 1
  259. #define kDPMSSyncSuspend                 2
  260. #define kDPMSSyncOff                     7
  261.  
  262. #define kConvolved                         0
  263. #define kLiveVideoPassThru                 1
  264. #define kConvolvedMask                     0x01
  265. #define kLiveVideoPassThruMask             0x02
  266.  
  267. #define kRSCZero                         0
  268. #define kRSCOne                         1
  269. #define kRSCTwo                         2
  270. #define kRSCThree                         3
  271. #define kRSCFour                         4
  272. #define kRSCFive                         5
  273. #define kRSCSix                         6
  274. #define kRSCSeven                         7
  275.  
  276. #define kESCZero21Inch                     0x00                /*  21" RGB                                  */
  277. #define kESCOnePortraitMono             0x14                /*  Portrait Monochrome                      */
  278. #define kESCTwo12Inch                     0x21                /*  12" RGB                                 */
  279. #define kESCThree21InchRadius             0x31                /*  21" RGB (Radius)                         */
  280. #define kESCThree21InchMonoRadius         0x34                /*  21" Monochrome (Radius)                  */
  281. #define kESCThree21InchMono             0x35                /*  21" Monochrome                         */
  282. #define kESCFourNTSC                     0x0A                /*  NTSC                                  */
  283. #define kESCFivePortrait                 0x1E                /*  Portrait RGB                          */
  284. #define kESCSixMSB1                     0x03                /*  MultiScan Band-1 (12" thru 1Six")     */
  285. #define kESCSixMSB2                     0x0B                /*  MultiScan Band-2 (13" thru 19")         */
  286. #define kESCSixMSB3                     0x23                /*  MultiScan Band-3 (13" thru 21")         */
  287. #define kESCSixStandard                 0x2B                /*  13"/14" RGB or 12" Monochrome         */
  288. #define kESCSevenPAL                     0x00                /*  PAL                                     */
  289. #define kESCSevenNTSC                     0x14                /*  NTSC                                  */
  290. #define kESCSevenVGA                     0x17                /*  VGA                                      */
  291. #define kESCSeven16Inch                 0x2D                /*  16" RGB (GoldFish)                       */
  292. #define kESCSevenPALAlternate             0x30                /*  PAL (Alternate)                          */
  293. #define kESCSeven19Inch                 0x3A                /*  Third-Party 19”                         */
  294. #define kESCSevenDDC                     0x3E                /*  DDC display                             */
  295. #define kESCSevenNoDisplay                 0x3F                /*  No display connected                  */
  296.  
  297. #define kDepthMode1                     128
  298. #define kDepthMode2                     129
  299. #define kDepthMode3                     130
  300. #define kDepthMode4                     131
  301. #define kDepthMode5                     132
  302. #define kDepthMode6                     133
  303.  
  304. #define kFirstDepthMode                 128                    /*  These constants are obsolete, and just included     */
  305. #define kSecondDepthMode                 129                    /*  for clients that have converted to the above         */
  306. #define kThirdDepthMode                 130                    /*  kDepthModeXXX constants.                             */
  307. #define kFourthDepthMode                 131
  308. #define kFifthDepthMode                 132
  309. #define kSixthDepthMode                 133
  310.  
  311. #define kDisplayModeIDCurrent             0x00                /*  Reference the Current DisplayModeID  */
  312. #define kDisplayModeIDInvalid             0xFFFFFFFF            /*  A bogus DisplayModeID in all cases  */
  313. #define kDisplayModeIDFindFirstResolution  0xFFFFFFFE        /*  Used in cscGetNextResolution to reset iterator  */
  314. #define kDisplayModeIDNoMoreResolutions  0xFFFFFFFD            /*  Used in cscGetNextResolution to indicate End Of List  */
  315.  
  316. #define kGammaTableIDFindFirst             0xFFFFFFFE            /*  Get the first gamma table ID  */
  317. #define kGammaTableIDNoMoreTables         0xFFFFFFFD            /*  Used to indicate end of list  */
  318. #define kGammaTableIDSpecific             0x00                /*  Return the info for the given table id  */
  319.  
  320. #define kGetConnectionCount             0xFFFFFFFF            /*  Used to get the number of possible connections in a “multi-headed” framebuffer environment. */
  321. #define kActivateConnection             0x00                /*  Used for activating a connection (csConnectFlags value). */
  322. #define kDeactivateConnection             0x0200                /*  Used for deactivating a connection (csConnectFlags value.) */
  323.  
  324. #define kSetClutAtSetEntries             0                    /*  SetEntries behavior is to update clut during SetEntries call */
  325. #define kSetClutAtVBL                     1                    /*  SetEntries behavior is to upate clut at next vbl */
  326.  
  327.  
  328. #endif /* __VIDEO_R__ */
  329.  
  330.